Sorry for the late answer.
In a patch for wsme the flare.py file would go into wsme/rest/,
but you can have it anywhere else for a start.
For the adapter the easier way is to copy the one you are using
and complete it so it knows your serialisation flavor.
PS: In case you don't see what adapters are, have a look at