Thanks for that link, its very useful. got a valid JSON now.

but... this is what im getting now after i run the miner

if you are using a p2pool for backup try adding this to its pool section
"no-extranonce" : true,
also "nfactor" : "10", is unnecessary it only needs specified if it is gonna be something other than 10