Standardise encoding for hstore in Birmingham Cabinet

- Encode to JSON everywhere using encode_dict and decode_dict
- Remove DictSerialisable