Fix issue in JsonApiSerializer