added method to varify issue #4
added jsondoc maven plugin
added test for issue #4