Minor edits to codec
Models fix metaclass with Py3, remove extra method, tests

- value_from_object silenced
- decoding if string