json

added getAll to all resources