def METHOD_NAME():
    resource = {"username": "Alice", "version": "1.0.0"}
    serializer = ResourceSerializer(data={"username": "Alice"})
    serializer.is_valid()
    resource_instance = serializer.save()
    output = {
        "type": "user",
        "id": "1",
        "attributes": {"username": "Alice"},
        "meta": {"version": "1.0.0"},
    }
    assert (
        JSONRenderer.build_json_resource_obj(
            get_serializer_fields(serializer),
            resource,
            resource_instance,
            "user",
            serializer,
        )
        == output
    )