Fixed json syntax
Added resource processing