use serializers to manage json and fix call issue