Added IEnum serialize and type deserializations tests for Json formatter