[AI-??] Fixed bug in resources/database/{id}/endpoint

Added @JsonView annotations to avoid infinite recursion
[AI-418] Added admin interface for locations