provide more specific info as possible for rest service
add JSON compatibility