entries: fixed a bug, allowed some JSON API calls.