ItemResource json and tests