fixes #16 and adds optional header object to the text.get call
fixes typo s/accepts/accept/ in header
Merge pull request #17 from DimitarChristoff/bug-16-json-headers

add "Accept : application/json" to request header on JSON plugin