first try: deserialise json to emf