Thanks for feedback and apologies for late replay.
Have you tried to preview the REST Service on FF to see its result.
Assuming your XPage is called xContacts.xsp and pathInfo for REST Service is contactjson you can try:
http:///xContacts.xsp/contactsjson and you should see the JSON result with Firebug. Also; have you tried running the examples from Extension Library Demo db?