Fix warnings
Flattening of resource should occur during the render phase

This way both JSON API flat structure can be satisfied, and so can be
{mustache} nested structure.