exported GetHttpJson
added validation.go
basic implementation of validation function