fixed serializer lookup dictionary identation and using type name strings directly